package me.traqk.app.api;

import javax.ws.rs.POST;
import javax.ws.rs.Produces;

import com.google.protobuf.ByteString;

public abstract class Handler {
  @POST
  @Produces("text/json")
  public String post() {
    return this.handle().toStringUtf8();
  }
  protected abstract ByteString handle();
}
